package namingService;

import org.omg.PortableServer.POA;

/**
 * Generated from IDL interface "AMI_ClientHandler".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 6-mar-2009 18.45.05
 */

public class AMI_ClientHandlerPOATie
	extends AMI_ClientHandlerPOA
{
	private AMI_ClientHandlerOperations _delegate;

	private POA _poa;
	public AMI_ClientHandlerPOATie(AMI_ClientHandlerOperations delegate)
	{
		_delegate = delegate;
	}
	public AMI_ClientHandlerPOATie(AMI_ClientHandlerOperations delegate, POA poa)
	{
		_delegate = delegate;
		_poa = poa;
	}
	public namingService.AMI_ClientHandler _this()
	{
		return namingService.AMI_ClientHandlerHelper.narrow(_this_object());
	}
	public namingService.AMI_ClientHandler _this(org.omg.CORBA.ORB orb)
	{
		return namingService.AMI_ClientHandlerHelper.narrow(_this_object(orb));
	}
	public AMI_ClientHandlerOperations _delegate()
	{
		return _delegate;
	}
	public void _delegate(AMI_ClientHandlerOperations delegate)
	{
		_delegate = delegate;
	}
	public POA _default_POA()
	{
		if (_poa != null)
		{
			return _poa;
		}
		return super._default_POA();
	}
	public void messageToClient()
	{
_delegate.messageToClient();
	}

	public void messageToClient_excep(org.omg.Messaging.ExceptionHolder excep_holder)
	{
_delegate.messageToClient_excep(excep_holder);
	}

}
